import Mock from "mockjs"

const data = Mock.mock({
    "list|4":[
        {
            img:"@image(50x50,@color)",
            title:"@ctitle"
        }
    ]
})

Mock.mock("/getlist","post",()=>{
    return {
        code:200,
        data:data.list
    }
})